#ifndef HOMEPAGE_H
#define HOMEPAGE_H

//主界面
#include <QtWidgets>
#include "m0wig.h"
#include "modbuswig.h"
#include "mbappwig.h"
#include "setwig.h"
#include "monitor.h"
#include "mqtthandler.h"
#include "history.h"
#include "myinterface.h"

namespace Ui {
class HomePage;
}

class HomePage : public QWidget
{
    Q_OBJECT

public:
    explicit HomePage(QWidget *parent = 0);
    ~HomePage();
private:
    Ui::HomePage *ui;
    Myinterface *myinterface;
    M0Wig *m0Wig;
    ModbusWig *modbusWig;
    MbappWig *mbappWig;
    SetWig *setWig;
    Monitor *monitor;
    History *history;
//protected:
//    void paintEvent(QPaintEvent*);

};

#endif // HOMEPAGE_H
